package com.lc.admin.bean;

import ch.qos.logback.core.rolling.helper.IntegerTokenConverter;
import com.lc.admin.base.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 审核记录表
 */
@Data
@NoArgsConstructor
public class AccraditationRecord extends BaseEntity {

    @Builder
    public AccraditationRecord(String opinion, Integer type, Long approverId, String approverName, String approverNameRole, Long nextApproverId, String nextApprover, String nextApproverRole, String bussniessId, String currentStep, Integer auditStatus, String nextStep, String stepNo, Integer handleType) {
        this.opinion = opinion;
        this.type = type;
        this.approverId = approverId;
        this.approverName = approverName;
        this.approverNameRole = approverNameRole;
        this.nextApproverId = nextApproverId;
        this.nextApprover = nextApprover;
        this.nextApproverRole = nextApproverRole;
        this.bussniessId = bussniessId;
        this.currentStep = currentStep;
        this.auditStatus = auditStatus;
        this.nextStep = nextStep;
        this.stepNo = stepNo;
        this.handleType = handleType;
    }



    private String opinion;
    private Integer type;  // 审批类型：1：退住 2：请假  3、入住
    private Long approverId; // 审批人id
    private String approverName;    // 审批人名称
    private String approverNameRole;    // 审批人角色
    private Long nextApproverId;  // 下一级审批人id
    private String nextApprover;    // 下一级审批人名称
    private String nextApproverRole;    // 下一级审批人角色
    private String bussniessId;     // 业务id
    private String currentStep;  //
    /**
     * 审核状态
     * 1:通过
     * 2:拒绝
     * 3:驳回
     * 4:撤回
     * 5:撤销
     */
    private Integer auditStatus;
    private String nextStep;
    private String stepNo;   // 入住：（流程状态  0:申请入住  1:入住评估  2:入住审批  3:入住配置  4:签约办理）
    private Integer handleType;     // 处理类型

}
